<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>联系我们 - 创新科技</title>
    <style>
        /* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .btn {
            display: inline-block;
            padding: 0.8rem 2rem;
            background-color: #ff6b6b;
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #333;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            width: 100px;
            height: 3px;
            background-color: #ff6b6b;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        /* 导航栏 */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #ffffff;
            padding: 1rem 5%;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #ff6b6b;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 2rem;
            position: relative;
        }
        
        .nav-links a {
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: #ff6b6b;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: #ff6b6b;
            transition: width 0.3s;
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        
        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* 页面标题 */
        .page-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-align: center;
            padding: 8rem 0 4rem;
            margin-bottom: 3rem;
        }
        
        .page-title {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        
        .page-subtitle {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* 联系信息部分 */
        .contact-info-section {
            padding: 3rem 0;
        }
        
        .contact-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .contact-info-card {
            background-color: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s;
        }
        
        .contact-info-card:hover {
            transform: translateY(-10px);
        }
        
        .contact-info-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            color: #ff6b6b;
        }
        
        .contact-info-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #333;
        }
        
        .contact-info-text {
            color: #666;
        }
        
        /* 联系表单部分 */
        .contact-form-section {
            padding: 5rem 0;
            background-color: #f0f2f5;
        }
        
        .contact-form-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }
        
        .contact-form-img {
            width: 100%;
            height: 400px;
            background-color: #ddd;
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #888;
            font-size: 1.2rem;
        }
        
        .contact-form {
            background-color: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #333;
        }
        
        .form-control {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        
        .form-control:focus {
            outline: none;
            border-color: #ff6b6b;
        }
        
        .form-textarea {
            height: 150px;
            resize: vertical;
        }
        
        .form-submit {
            width: 100%;
            padding: 1rem;
            background-color: #ff6b6b;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .form-submit:hover {
            background-color: #ff5252;
        }
        
        /* 地图部分 */
        .map-section {
            padding: 5rem 0;
        }
        
        .map-container {
            width: 100%;
            height: 500px;
            background-color: #ddd;
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #888;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        /* 常见问题部分 */
        .faq-section {
            padding: 5rem 0;
            background-color: #f0f2f5;
        }
        
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .faq-item {
            margin-bottom: 1.5rem;
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .faq-question {
            padding: 1.5rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: #333;
        }
        
        .faq-question:hover {
            background-color: #f9f9f9;
        }
        
        .faq-answer {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        
        .faq-answer.active {
            padding: 0 1.5rem 1.5rem;
            max-height: 500px;
        }
        
        .faq-icon {
            transition: transform 0.3s;
        }
        
        .faq-icon.active {
            transform: rotate(45deg);
        }
        
        /* 社交媒体部分 */
        .social-section {
            padding: 5rem 0;
            text-align: center;
        }
        
        .social-intro {
            max-width: 800px;
            margin: 0 auto 3rem;
        }
        
        .social-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }
        
        .social-card {
            background-color: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        
        .social-card:hover {
            transform: translateY(-10px);
        }
        
        .social-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            color: #ff6b6b;
        }
        
        .social-name {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #333;
        }
        
        .social-handle {
            color: #666;
            margin-bottom: 1.5rem;
        }
        
        .social-link {
            display: inline-block;
            padding: 0.5rem 1.5rem;
            background-color: #f0f2f5;
            border-radius: 30px;
            transition: background-color 0.3s, color 0.3s;
        }
        
        .social-link:hover {
            background-color: #ff6b6b;
            color: white;
        }
        
        /* 页脚部分 */
        .footer {
            background-color: #333;
            color: white;
            padding: 3rem 5%;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }
        
        .footer-section h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background-color: #ff6b6b;
            bottom: -10px;
            left: 0;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: #ff6b6b;
        }
        
        .contact-info p {
            margin-bottom: 0.8rem;
        }
        
        .social-icons {
            display: flex;
            margin-top: 1.5rem;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            background-color: #444;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 1rem;
            transition: background-color 0.3s;
        }
        
        .social-icon:hover {
            background-color: #ff6b6b;
        }
        
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid #444;
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .navbar {
                padding: 1rem 5%;
            }
            
            .nav-links {
                position: fixed;
                top: 60px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 60px);
                background-color: white;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding-top: 2rem;
                transition: left 0.3s;
            }
            
            .nav-links.active {
                left: 0;
            }
            
            .nav-links li {
                margin: 1.5rem 0;
            }
            
            .mobile-menu {
                display: block;
            }
            
            .page-title {
                font-size: 2.5rem;
            }
            
            .contact-form-container {
                grid-template-columns: 1fr;
            }
            
            .contact-form-img {
                height: 300px;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar">
        <div class="logo">创新科技</div>
        <ul class="nav-links" id="navLinks">
            <li><a href="index.html">首页</a></li>
            <li><a href="history.html">公司历程</a></li>
            <li><a href="products.html">产品详情</a></li>
            <li><a href="about.html">关于我们</a></li>
            <li><a href="contact.html">联系我们</a></li>
        </ul>
        <div class="mobile-menu" id="mobileMenu">☰</div>
    </nav>

    <!-- 页面标题 -->
    <header class="page-header">
        <div class="container">
            <h1 class="page-title">联系我们</h1>
            <p class="page-subtitle">无论您有任何问题、建议或合作意向，我们都期待与您沟通交流，为您提供最优质的服务和支持。</p>
        </div>
    </header>

    <!-- 联系信息部分 -->
    <section class="contact-info-section">
        <div class="container">
            <h2 class="section-title">联系方式</h2>
            <div class="contact-info-grid">
                <div class="contact-info-card">
                    <div class="contact-info-icon">📞</div>
                    <h3 class="contact-info-title">电话咨询</h3>
                    <p class="contact-info-text">400-123-4567</p>
                    <p class="contact-info-text">工作时间：周一至周五 9:00-18:00</p>
                </div>
                <div class="contact-info-card">
                    <div class="contact-info-icon">✉️</div>
                    <h3 class="contact-info-title">电子邮件</h3>
                    <p class="contact-info-text">info@innovtech.com</p>
                    <p class="contact-info-text">我们会在24小时内回复您的邮件</p>
                </div>
                <div class="contact-info-card">
                    <div class="contact-info-icon">🏢</div>
                    <h3 class="contact-info-title">公司地址</h3>
                    <p class="contact-info-text">北京市海淀区科技园区88号</p>
                    <p class="contact-info-text">邮编：100080</p>
                </div>
                <div class="contact-info-card">
                    <div class="contact-info-icon">🔧</div>
                    <h3 class="contact-info-title">技术支持</h3>
                    <p class="contact-info-text">support@innovtech.com</p>
                    <p class="contact-info-text">400-123-4568</p>
                </div>
            </div>
        </div>
    </section>

    <!-- 联系表单部分 -->
    <section class="contact-form-section">
        <div class="container">
            <h2 class="section-title">在线咨询</h2>
            <div class="contact-form-container">
                <div class="contact-form-img">联系我们图片</div>
                <div class="contact-form">
                    <form id="contactForm">
                        <div class="form-group">
                            <label for="name" class="form-label">姓名</label>
                            <input type="text" id="name" name="name" class="form-control" required>
                        </div>
                        <div class="form-group">
                            <label for="email" class="form-label">电子邮件</label>
                            <input type="email" id="email" name="email" class="form-control" required>
                        </div>
                        <div class="form-group">
                            <label for="phone" class="form-label">电话</label>
                            <input type="tel" id="phone" name="phone" class="form-control">
                        </div>
                        <div class="form-group">
                            <label for="subject" class="form-label">主题</label>
                            <select id="subject" name="subject" class="form-control" required>
                                <option value="">请选择咨询主题</option>
                                <option value="product">产品咨询</option>
                                <option value="service">服务咨询</option>
                                <option value="cooperation">合作洽谈</option>
                                <option value="feedback">意见反馈</option>
                                <option value="other">其他</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="message" class="form-label">留言内容</label>
                            <textarea id="message" name="message" class="form-control form-textarea" required></textarea>
                        </div>
                        <button type="submit" class="form-submit">提交</button>
                    </form>
                </div>
            </div>
        </div>
    </section>

    <!-- 地图部分 -->
    <section class="map-section">
        <div class="container">
            <h2 class="section-title">我们的位置</h2>
            <div class="map-container">
                地图将在这里显示（实际项目中可嵌入地图API）
            </div>
        </div>
    </section>

    <!-- 常见问题部分 -->
    <section class="faq-section">
        <div class="container">
            <h2 class="section-title">常见问题</h2>
            <div class="faq-container">
                <div class="faq-item">
                    <div class="faq-question">
                        <span>如何购买你们的产品？</span>
                        <span class="faq-icon">+</span>
                    </div>
                    <div class="faq-answer">
                        <p>您可以通过我们的官方网站、官方APP、线下实体店或授权经销商购买我们的产品。在官网或APP购买可享受更多优惠和售后保障。</p>
                    </div>
                </div>
                <div class="faq-item">
                    <div class="faq-question">
                        <span>产品保修期是多久？</span>
                        <span class="faq-icon">+</span>
                    </div>
                    <div class="faq-answer">
                        <p>我们的产品标准保修期为1年，从购买之日起计算。在保修期内，因产品本身质量问题导致的故障，我们将提供免费维修或更换服务。电池等易耗品的保修期可能会有所不同，详情请参考产品说明书或联系客服。</p>
                    </div>
                </div>
                <div class="faq-item">
                    <div class="faq-question">
                        <span>如何申请售后服务？</span>
                        <span class="faq-icon">+</span>
                    </div>
                    <div class="faq-answer">
                        <p>您可以通过以下方式申请售后服务：1. 拨打我们的售后服务热线400-123-4568；2. 发送邮件至support@innovtech.com；3. 前往我们的线下服务中心；4. 在官方APP中提交售后申请。我们的客服人员会尽快处理您的申请。</p>
                    </div>
                </div>
                <div class="faq-item">
                    <div class="faq-question">
                        <span>你们提供上门服务吗？</span>
                        <span class="faq-icon">+</span>
                    </div>
                    <div class="faq-answer">
                        <p>对于部分大型产品，我们提供上门安装和维修服务。具体是否提供上门服务，取决于您所在的地区和产品类型。您可以联系我们的客服人员，咨询是否可以提供上门服务。</p>
                    </div>
                </div>
                <div class="faq-item">
                    <div class="faq-question">
                        <span>如何成为你们的合作伙伴？</span>
                        <span class="faq-icon">+</span>
                    </div>
                    <div class="faq-answer">
                        <p>如果您有意向成为我们的合作伙伴，可以通过以下方式联系我们：1. 发送合作意向邮件至cooperation@innovtech.com；2. 拨打我们的合作热线400-123-4569；3. 在官网填写合作申请表。我们的商务团队会尽快与您联系，洽谈合作事宜。</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 社交媒体部分 -->
    <section class="social-section">
        <div class="container">
            <h2 class="section-title">关注我们</h2>
            <div class="social-intro">
                <p>关注我们的社交媒体账号，了解最新产品资讯、活动信息和技术分享，与我们保持互动。</p>
            </div>
            <div class="social-grid">
                <div class="social-card">
                    <div class="social-icon">微</div>
                    <h3 class="social-name">微信公众号</h3>
                    <p class="social-handle">创新科技</p>
                    <a href="#" class="social-link">立即关注</a>
                </div>
                <div class="social-card">
                    <div class="social-icon">微</div>
                    <h3 class="social-name">微博</h3>
                    <p class="social-handle">@创新科技官方</p>
                    <a href="#" class="social-link">立即关注</a>
                </div>
                <div class="social-card">
                    <div class="social-icon">抖</div>
                    <h3 class="social-name">抖音</h3>
                    <p class="social-handle">@创新科技</p>
                    <a href="#" class="social-link">立即关注</a>
                </div>
                <div class="social-card">
                    <div class="social-icon">B</div>
                    <h3 class="social-name">哔哩哔哩</h3>
                    <p class="social-handle">创新科技官方</p>
                    <a href="#" class="social-link">立即关注</a>
                </div>
            </div>
        </div>
    </section>

    <!-- 页脚部分 -->
    <footer class="footer">
        <div class="footer-content">
            <div class="footer-section">
                <h3>关于我们</h3>
                <p>创新科技是一家专注于智能硬件和软件开发的科技公司，致力于为用户提供最前沿的科技产品和解决方案。</p>
            </div>
            <div class="footer-section">
                <h3>快速链接</h3>
                <ul class="footer-links">
                    <li><a href="index.html">首页</a></li>
                    <li><a href="history.html">公司历程</a></li>
                    <li><a href="products.html">产品详情</a></li>
                    <li><a href="about.html">关于我们</a></li>
                    <li><a href="contact.html">联系我们</a></li>
                </ul>
            </div>
            <div class="footer-section">
                <h3>联系我们</h3>
                <div class="contact-info">
                    <p>地址：北京市海淀区科技园区88号</p>
                    <p>电话：400-123-4567</p>
                    <p>邮箱：info@innovtech.com</p>
                </div>
                <div class="social-icons">
                    <a href="#" class="social-icon">微信</a>
                    <a href="#" class="social-icon">微博</a>
                    <a href="#" class="social-icon">抖音</a>
                </div>
            </div>
        </div>
        <div class="copyright">
            <p>&copy; 2023 创新科技 版权所有</p>
        </div>
    </footer>

    <!-- JavaScript -->
    <script>
        // 移动端菜单切换
        const mobileMenu = document.getElementById('mobileMenu');
        const navLinks = document.getElementById('navLinks');
        
        mobileMenu.addEventListener('click', () => {
            navLinks.classList.toggle('active');
        });
        
        // FAQ切换
        const faqQuestions = document.querySelectorAll('.faq-question');
        
        faqQuestions.forEach(question => {
            question.addEventListener('click', () => {
                const answer = question.nextElementSibling;
                const icon = question.querySelector('.faq-icon');
                
                // 切换回答的显示状态
                answer.classList.toggle('active');
                icon.classList.toggle('active');
            });
        });
        
        // 表单提交
        const contactForm = document.getElementById('contactForm');
        
        contactForm.addEventListener('submit', (e) => {
            e.preventDefault();
            
            // 在实际项目中，这里可以添加表单验证和提交逻辑
            alert('感谢您的留言，我们会尽快回复您！');
            contactForm.reset();
        });
        
        // 滚动动画
        window.addEventListener('scroll', () => {
            const reveals = document.querySelectorAll('.contact-info-card, .contact-form-container, .social-card, .faq-item');
            
            for (let i = 0; i < reveals.length; i++) {
                const windowHeight = window.innerHeight;
                const elementTop = reveals[i].getBoundingClientRect().top;
                const elementVisible = 150;
                
                if (elementTop < windowHeight - elementVisible) {
                    reveals[i].style.opacity = '1';
                    reveals[i].style.transform = 'translateY(0)';
                } else {
                    reveals[i].style.opacity = '0';
                    reveals[i].style.transform = 'translateY(20px)';
                }
            }
        });
        
        // 初始化
        window.onload = () => {
            // 设置初始透明度
            const reveals = document.querySelectorAll('.contact-info-card, .contact-form-container, .social-card, .faq-item');
            for (let i = 0; i < reveals.length; i++) {
                reveals[i].style.opacity = '0';
                reveals[i].style.transform = 'translateY(20px)';
                reveals[i].style.transition = 'opacity 0.6s ease, transform 0.6s ease';
            }
            
            // 触发滚动事件以显示可见元素
            window.dispatchEvent(new Event('scroll'));
        };
    </script>
</body>
</html>